package cn.bgs.mapper;

import cn.bgs.pojo.InvestmentAdvisory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 招商咨询表 Mapper 接口
 * </p>
 *
 * @author Mr.Zhao
 * @since 2022-08-08
 */
@Mapper
public interface InvestmentAdvisoryMapper extends BaseMapper<InvestmentAdvisory> {

    List<InvestmentAdvisory> findInvestmentAdvisory(@Param("inAdvInfo")String inAdvInfo, @Param("inAdvCompany") String inAdvCompany);

    InvestmentAdvisory findInvestmentAdvisoryId(Integer id);

    Integer addInvestmentAdvisory(InvestmentAdvisory investmentAdvisory);

    Integer updateInvestmentAdvisory(InvestmentAdvisory investmentAdvisory);
}
